/*
 * Copyright 2010 Mttang.com All right reserved. This software is the confidential and proprietary information of
 * Mttang.com ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with Mttang.com.
 */
package com.mttang.info.core;

import java.util.List;

/**
 * 类ResultDTO.java的实现描述：结果集
 * 
 * @author caizhan 2010-6-1 下午12:03:46
 */
public class ResultDTO<E> {

    private Long     totalRecord = 0L;
    private List<E>  records;
    private Class<?> dtoClass;

    public ResultDTO() {
        super();
    }

    /**
     * @return the totalRecord
     */
    public Long getTotalRecord() {
        return totalRecord;
    }

    /**
     * @param totalRecord the totalRecord to set
     */
    public void setTotalRecord(Long totalRecord) {
        this.totalRecord = totalRecord;
    }

    /**
     * @return the records
     */
    public List<E> getRecords() {
        return records;
    }

    /**
     * @param records the records to set
     */
    public void setRecords(List<E> records) {
        this.records = records;
    }

    /**
     * @return the dtoClass
     */
    public Class<?> getDtoClass() {
        return dtoClass;
    }

    /**
     * @param dtoClass the dtoClass to set
     */
    public void setDtoClass(Class<?> dtoClass) {
        this.dtoClass = dtoClass;
    }

}
